package cn.com.hhrcw.mapper;

import cn.com.hhrcw.entity.OpDeliveryHistory;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 职位-投递记录 Mapper 接口
 * </p>
 *
 * @author jiangdong
 * @since 2020-11-03
 */
@Mapper
public interface OpDeliveryHistoryMapper extends BaseMapper<OpDeliveryHistory> {

    /**
     * getRoleIdByUserName
     *
     * @param page
     * @param wrapper
     * @return
     */
    Page<OpDeliveryHistory> selectResumeList(IPage<?> page, @Param("ew") Wrapper<?> wrapper);

    /**
     * getRoleIdByUserName
     *
     * @param page
     * @param wrapper
     * @return
     */
    Page<OpDeliveryHistory> candidateList(IPage<?> page, @Param("ew") Wrapper<?> wrapper);

    /**
     * getRoleIdByUserName
     *
     * @param page
     * @param param
     * @return
     */
    IPage<OpDeliveryHistory> resumeDeliveryList(IPage<?> page, @Param("param") Map<String, ?> param);

    /**
     * 人才库列表
     *
     * @param page
     * @param param
     * @return java.util.List<cn.com.hhrcw.entity.OpDeliveryHistory>
     */
    IPage<OpDeliveryHistory> resumeTalentList(IPage<?> page, @Param("param") Map<String, ?> param);
}